using System;
using JoyfulHomeJourney.BackEnd.Infrastructure.EFCore;
using JoyfulHomeJourney.BackEnd.Infrastructure.Dtos.Requests.Objects;
namespace JoyfulHomeJourney.BackEnd.Server.Instances.Extends.Requests
{
	public static class EntityTaskHistorysDeleteExtend
{
		public static TaskHistorys ToDeleteEntity(this RequestTaskHistorysDto dto)
		{
			return new TaskHistorys
			{
				ThAccountId = dto.accountId,
				ThHistoryId = dto.historyId,
			};
		}
	}
}
